package constants;

import java.awt.Font;

import javax.swing.BorderFactory;
import javax.swing.border.Border;
import javax.swing.border.EtchedBorder;

/**
 * this is the main constants values for the game
 * will provide values for our game
 * @author Jose Luis Garcia && Alvaro Blazquez Checa
 *
 */
public final class Constants {
	
	public final static String PARAMETERS_FILE = "parameters.xml";
	
	public final static int MAX_PLAYERS = 6;
	public final static int MIN_PLAYERS = 1;
	public final static int MAX_MOVES = 2;
	
	public final static int PORT = 90;
	public final static String IP = "127.0.0.1";
	
	public static final byte WAITING_FOR_GAME_TO_START = 0;
	public static final byte MYTURN = 1;
	public static final byte MOVEMENT = 2;
	public static final byte NO_TURN = 4;
	public static final byte GAME_FINISHED = 8;
	
	public final static int MONK_CARD_TYPE = 0;
	public final static int PLAY_CARD_TYPE = 1;
	public final static int MISA_CARD_TYPE = 2;
	
	public final static Border outsideBorder = BorderFactory.createEtchedBorder(EtchedBorder.RAISED); 
	public final static Border insideBorder = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED); 
	public final static Border doubleBorder = BorderFactory.createCompoundBorder(outsideBorder, insideBorder);
	
	public final static Font BIG_FONT = new Font( "SketchFlow Print",Font.BOLD,18);
	public final static Font NORMAL_FONT = new Font( "SketchFlow Print",Font.BOLD,12);
	public final static Font SMALL_FONT = new Font( "Trebuchet MS",Font.BOLD,12);
	
	public enum Colors{
		ROJO,VERDE,AZUL,
		AMARILLO,BLANCO,NEGRO
	}
}
